extends medecin-bar

block body
	div(class="wrapper")
	div(id="container")
		div(class="wrapper")
			div(class="content")
				form(class="") <strong> creation rapide de medecin: </strong>
					fieldset
						input(type="text", ng-model="nom", placeholder="nom") NOM...
						input(type="text", ng-model="prenom", placeholder="prenom") PRENOM...
						input(type="text", ng-model="specialite", placeholder="specialite") SPECIALITE...
						button(ng-click="createMedecin(nom,prenom,specialite)") Creer le medecin
				br
				
	div(id="container")
		div(class="wrapper")
			div(class="column")
				div(class="subnav")
				label Filtrer
				form
					fieldset
						input(ng-model="medecin_filter", ng-change="getAllMedecins(medecin_filter)", placeholder="recherche medecin")
					br
					br
					table
						caption
							h2 Medecins: {{getTotalMedecins()}} medecins
						tbody
							tr(ng-repeat="medecin in medecin_list")
								td
									a(href="/medecin-details", ng-click="viewMedecinDetails(medecin)") <strong>{{medecin.nom}}</strong> {{medecin.prenom}} [{{medecin.id}}] {{medecin.path}}
								td
									button(ng-click="removeMedecin(medecin)") Trash
